<?php

class Core_Frontend_Component_Article_View_Content_Preview extends Core_Component_View {

    public function __construct() {
        parent::__construct();
        $this->setTemplatePath('content');
    }

    public function render(){
        $this->getTemplate()
                ->assign('content', $this->content)
                ->assign('pageindex', $this->getPageindex());
        return parent::render();;
    }
}